import {proxy, useSnapshot} from "valtio";

const store = proxy({
  count: 0,
  setCount(e) {
    store.count = e
  },
});

export default () => useSnapshot(store)
